﻿<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header">
            个人信息编辑
        </div>
        <div class="layui-card-body">
            @using (Ajax.BeginForm("UpdateUserMsg", "AccountManage", new AjaxOptions()
            {
                OnBegin = "onRequestBegin",
                OnSuccess = "onRequestSuccess",
                OnFailure = "onRequstFailure",
                OnComplete = "updateUserMsgComplete"
            }))
            {
                <div class="layui-form layui-form-pane" lay-filter="updateUser">
                    <div class="layui-row">
                        <div class="layui-col-xs4" style="padding:10px 25px;text-align:center">
                            <img src="~/Content/image/headimg.jpg" width="200" height="200" id="img_HeadImg" />
                        </div>
                        <div class="layui-col-xs8">
                            <div class="layui-col-xs12">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">手机号码 </label>
                                    <div class="layui-input-block">
                                        <input type="text" name="PhoneNumber" class="layui-input layui-disabled" disabled />
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-xs12">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">电子邮箱 </label>
                                    <div class="layui-input-block">
                                        <input type="text" name="Email" class="layui-input layui-disabled" disabled />
                                    </div>
                                </div>

                            </div>
                            <div class="layui-col-xs12">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">昵称</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="NickName" class="layui-input " autocomplete="off" lay-verify="required" />
                                    </div>
                                </div>

                            </div>
                            <div class="layui-col-xs12">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">性别</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="Sex" value="10" title="男" />
                                        <input type="radio" name="Sex" value="20" title="女" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-xs2 layui-col-xs-offset1">
                            <button type="button" class="layui-btn layui-btn-fluid layui-btn-danger" id="btn_UpdateUserHeadImg">
                                <i class="layui-icon layui-icon-upload"></i>
                                上传头像
                            </button>
                        </div>
                        <div class="layui-col-xs8 layui-col-xs-offset1">
                            <div class="layui-form-item">
                                <label class="layui-form-label"> 注册时间 </label>
                                <div class="layui-input-block">
                                    <input type="text" name="RegisterTime" class="layui-input layui-disabled" disabled />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class=" layui-row">
                        <div class="layui-col-xs2 layui-col-xs-offset10">
                            <div class="layui-form-item" id="btn_UpdateUserMsg">
                                <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="update-userMsg">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
            }

        </div>
    </div>
</div>

<script type="text/javascript">
    layui.cache.module = {
        moduleName: 'accountManage',
        pageName: 'updateUserMsg'
    }
</script>
